home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Register for Idle
- Sent: 3/26/96 8:31 AM
- Received: 3/26/96 3:31 PM
- From: lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >When our part is initialized, we register for idle events with the
- >RegisterIdle call. When we terminate our part, we get the assert debug
- >message fIdleCount == 0. Trying to eliminate this debug message, we called
- >the UnRegisterIdle method in our part's destructor. Now we get the debug
- >message fIdleCount >=1 followed by fIdleCount == 0. What is the
- >significant of these assert messages and what is the proper way to handle
- >unregistering for idle events?
- >
- >Karl Jepsen
- >
-
- It looks like your part is like ODFClock. ODFClock only calls
- RegisterIdle in the Initialize method. You should not have to call
- UnregisterIdle. It looks like you are registering something else for idle
- or registering something multiple time. Check ODFClock.
-
- .......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- .......................................................................
-
-
-